package com.caius.xiaohashu.data.align.constant;

/**
 * @author Caius
 * @description 表常量类
 * @since Created in 2025-05-29
 */
public class TableConstants {

    /**
     * 表中的分隔符
     */
    private static final String TABLE_NAME_SEPARATOR = "_";

    /**
     * 拼接表名后缀
     * @param data
     * @param hashKey
     * @return
     */
    public static String buildTableNameSuffix(String data, Long hashKey) {
        return data + TABLE_NAME_SEPARATOR + hashKey;
    }
}
